package com.shenfc.fxzj.mapper;

import com.shenfc.fxzj.domain.SysRoleRel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysRoleRelMapper extends BaseMapper<SysRoleRel, Long> {

    void deleteByRoleId(@Param("roleId") Long id, @Param("relType") String key);

    List<SysRoleRel> getRoleRelByRoleId(@Param("roleId") Long roleId, @Param("relType") String relType);

    void deleteByObjId(@Param("objId") Long id, @Param("relType") String key);
}